package com.ruoyi.active.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 入团积极分子对象 xg_membership_active
 *
 * @author ruoyi
 * @date 2024-11-13
 */
public class MembershipActive extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long maId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String maName;

    /** 性别 */
    @Excel(name = "性别")
    private String maGender;

    /** 学号 */
    @Excel(name = "学号")
    private String maStudentId;

    /** 班级 */
    @Excel(name = "班级")
    private String maClass;

    /** 现任职务 */
    @Excel(name = "现任职务")
    private String maCurPosition;

    /** 申请入团时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请入团时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date maAppDate;

    /** 确立为入团积极分子时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "确立为入团积极分子时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date maEstDate;

    /** 上次综评 */
    @Excel(name = "上次综评")
    private String maLastEvaluation;

    /** 辅导员 */
    @Excel(name = "辅导员")
    private String maCounselor;

    /** 审核状态 */
    @Excel(name = "审核状态")
    private String auditStatus;

    /** 未通过原因 */
    @Excel(name = "未通过原因")
    private String rejectionReason;

    /** 确立年份 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "确立年份", width = 30, dateFormat = "yyyy-MM-dd")
    private Date establishmentYear;

    /** 用户ID */
    private Long userId;

    /** 部门id */
    private Long deptId;

    public void setMaId(Long maId)
    {
        this.maId = maId;
    }

    public Long getMaId()
    {
        return maId;
    }
    public void setMaName(String maName)
    {
        this.maName = maName;
    }

    public String getMaName()
    {
        return maName;
    }
    public void setMaGender(String maGender)
    {
        this.maGender = maGender;
    }

    public String getMaGender()
    {
        return maGender;
    }
    public void setMaStudentId(String maStudentId)
    {
        this.maStudentId = maStudentId;
    }

    public String getMaStudentId()
    {
        return maStudentId;
    }
    public void setMaClass(String maClass)
    {
        this.maClass = maClass;
    }

    public String getMaClass()
    {
        return maClass;
    }
    public void setMaCurPosition(String maCurPosition)
    {
        this.maCurPosition = maCurPosition;
    }

    public String getMaCurPosition()
    {
        return maCurPosition;
    }
    public void setMaAppDate(Date maAppDate)
    {
        this.maAppDate = maAppDate;
    }

    public Date getMaAppDate()
    {
        return maAppDate;
    }
    public void setMaEstDate(Date maEstDate)
    {
        this.maEstDate = maEstDate;
    }

    public Date getMaEstDate()
    {
        return maEstDate;
    }
    public void setMaLastEvaluation(String maLastEvaluation)
    {
        this.maLastEvaluation = maLastEvaluation;
    }

    public String getMaLastEvaluation()
    {
        return maLastEvaluation;
    }
    public void setMaCounselor(String maCounselor)
    {
        this.maCounselor = maCounselor;
    }

    public String getMaCounselor()
    {
        return maCounselor;
    }
    public void setAuditStatus(String auditStatus)
    {
        this.auditStatus = auditStatus;
    }

    public String getAuditStatus()
    {
        return auditStatus;
    }
    public void setRejectionReason(String rejectionReason)
    {
        this.rejectionReason = rejectionReason;
    }

    public String getRejectionReason()
    {
        return rejectionReason;
    }
    public void setEstablishmentYear(Date establishmentYear)
    {
        this.establishmentYear = establishmentYear;
    }

    public Date getEstablishmentYear()
    {
        return establishmentYear;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("maId", getMaId())
            .append("maName", getMaName())
            .append("maGender", getMaGender())
            .append("maStudentId", getMaStudentId())
            .append("maClass", getMaClass())
            .append("maCurPosition", getMaCurPosition())
            .append("maAppDate", getMaAppDate())
            .append("maEstDate", getMaEstDate())
            .append("maLastEvaluation", getMaLastEvaluation())
            .append("maCounselor", getMaCounselor())
            .append("auditStatus", getAuditStatus())
            .append("rejectionReason", getRejectionReason())
            .append("establishmentYear", getEstablishmentYear())
            .append("userId", getUserId())
            .append("deptId", getDeptId())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
